import java.util.*;
import java.util.ArrayList;
/**
 * Write a description of class KundeContainer here.
 * 
 * @author Zohdi Al-Ghandour
 * @version 05-12-2014
 */
public class KundeContainer
{
    // instance variables - replace the example below with your own
    private static KundeContainer instance;
    private ArrayList<Kunde> kunder;
    private Kunde k;

    public KundeContainer()
    {
        kunder = new ArrayList<Kunde>();

    }

    public static KundeContainer getInstance()
    {
        if(instance == null)
        {
            instance = new KundeContainer();
        }
        return instance;
    }

    public void addKunde(String navn, String address, String tlf, int id, double discount)
    {
        
    }

    public void setKunde(String navn, String address, String tlf, int id, double discount)
    {
        
    }


    public boolean removeKunde(int id)
    {
        boolean successful = true;
        if(findKunde(id) == null)
        {
            successful = false;
        }
        else
        {
            kunder.remove(findKunde(id));
        }
        return successful;
    }

    public Kunde findKunde(int id)
    {
        return null;
    }
}
